<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="zh-cn" xmlns：th="http://www.thymeleaf.org" xmlns:th="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>菜单编辑</title>
        <link href="admin/bower_components/bootstrap/dist/css/bootstrap.min.css" th:href="@{/admin/bower_components/bootstrap/dist/css/bootstrap.min.css}" rel="stylesheet">
        <link href="admin/plugins/bootstrap-fileinput/css/fileinput.min.css" th:href="@{/admin/plugins/bootstrap-fileinput/css/fileinput.min.css}" rel="stylesheet">
    </head>
    <body>
        <form class="form-horizontal" th:action="@{/admin/editMenu}"
              method="post" style="width: 1200px; margin-top: 20px">
            <input type="hidden" name="id" th:value="${menu!=null?menu.id:''}">
            <div class="form-group">
                <label for="InputName" class="col-sm-2 control-label">菜单名称</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" th:value="${menu!=null?menu.name:''}"
                           name="name" placeholder="菜单名称">
                </div>
            </div>

            <div class="form-group">
                <label for="InputName" class="col-sm-2 control-label">url</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" th:value="${menu!=null?menu.url:''}"
                           id="InputName" name="url" placeholder="url">
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">提交</button>
                </div>
            </div>

        </form>

    </body>
</html>